package com.nut.course.service;

import com.nut.course.api.resp.UserAuth;
import com.nut.course.common.Result;
import me.chanjar.weixin.cp.bean.WxCpUser;

import java.util.List;

public interface UserService {

    Result<UserAuth> login(String code, String state);

    Result<WxCpUser> getUserInfo(String userId);

    Result<List<WxCpUser>> getUsersByDepartId(Long departId);

}
